package com.example.shoppingmallspringboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("comment")
public class Comment {
  @TableId(type = IdType.AUTO)
  private Integer commentId;
  private Integer orderId;
  private Integer goodsId;
  private Integer userId;
  private String content;
    private Integer score;
  private Date createTime;

}
